package com.hulk.ratel.persistence.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.hulk.ratel.persistence.entity.SuperEntity;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hulk
 * @since 2018-12-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_partner_org_over_weight_route")
public class PartnerOrgOverWeightRoute extends SuperEntity {

    private static final long serialVersionUID = 1L;

    @TableField("partner_no")
    private String partnerNo;

    /**
     * REALITY-商户真实的
            VIRTUAL-商户虚拟的
            BOTH-两者都包括
     */
    @TableField("partner_type")
    private String partnerType;

    @TableField("overorg_code")
    private String overorgCode;

    @TableField("org_code")
    private String orgCode;

    @TableField("weight")
    private Integer weight;

    @TableField("priority")
    private Integer priority;

    /**
     * Y-启用
            N-关闭
     */
    @TableField("use_flag")
    private String useFlag;

    @TableField("start_date")
    private LocalDate startDate;

    @TableField("expiry_date")
    private LocalDate expiryDate;

    @TableField("created_by")
    private String createdBy;



    @TableField("audited_by")
    private String auditedBy;

    @TableField("audited_time")
    private LocalDateTime auditedTime;

    /**
     * N-未审核
            Y-已审核
            U-已修改
     */
    @TableField("audited_flag")
    private String auditedFlag;

    @TableField("updated_by")
    private String updatedBy;



    @TableField("ori_id")
    private String oriId;



    @TableField("rsv1")
    private String rsv1;

    @TableField("rsv2")
    private String rsv2;


    public static final String PARTNER_NO = "partner_no";

    public static final String PARTNER_TYPE = "partner_type";

    public static final String OVERORG_CODE = "overorg_code";

    public static final String ORG_CODE = "org_code";

    public static final String WEIGHT = "weight";

    public static final String PRIORITY = "priority";

    public static final String USE_FLAG = "use_flag";

    public static final String START_DATE = "start_date";

    public static final String EXPIRY_DATE = "expiry_date";

    public static final String CREATED_BY = "created_by";


    public static final String AUDITED_BY = "audited_by";

    public static final String AUDITED_TIME = "audited_time";

    public static final String AUDITED_FLAG = "audited_flag";

    public static final String UPDATED_BY = "updated_by";



    public static final String ORI_ID = "ori_id";





    public static final String RSV1 = "rsv1";

    public static final String RSV2 = "rsv2";

}
